{extend name='base'}
{block name='ex'}
<script type="text/javascript">
    $(document).ready(function () {
        //导航栏
        var Tabs = $('div #newsListnewsTitleID').children('div');
        var category_id = $('#category_id').val();
        var len = Tabs.length;
        for (i = 0; i < len; i++) {
            if (Tabs[i].id == category_id) {
                Tabs[i].style.borderBottom = "2px  solid #004EA1";
            }
        }
    });
</script>
{/block}
{block name='con'}
     <div class="search" >
        <div style="margin-bottom: 10px;" class="width1020 clear">
            <!--左边-->
            <div class="industryListnewsContent">
                
                <!--取得一个DataTable-->
                
                <!--取得分页页码列表-->
                
                <div class="ntitle">
                    <h2><a>站内搜索</a></h2>
                    
                    <i>搜索关健字： <b class="blue">{:$_POST['keywords']}</b> ，共有 <b class="red">{$count}</b> 条记录</i>
                    
                </div>
                <ul >
                    {volist name='arr' id='list'}
                    <a href="{:url('News/news_details',['id'=>$list.id])}" >
                        <li class=" wow fadeInUp animated" >
                            <div class="industryNewsdiv">
                                <div style="height: 80px;padding-top:20px">
                                    <div class="newsDateGray">         
                                        <div  class="industrynewsDateDay">
                                            <span>{:date('d',$list.date)}</span>
                                        </div> 
                                        <br />
                                        <div class="industrynewsDateYear">
                                            <span style="font-size: 15px;">{:date('Y-m',$list.date)}</span>
                                        </div>
                                    </div>
                                    <div class="industrynewsContent">
                                        <div class="newsContentTitle">
                                        </div>
                                            {$list.title}
                                        <div class="newsContentDetail">
                                            {:mb_substr($list.details,0,30,'utf-8')}…
                                            <span>[查看详情]</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </li>
                    </a>
                    {/volist}
                </ul>
            </div>
            <!--/左边-->
        </div>
    </div>
<div class="clear"></div>
<div class="line20"></div>
    <div class="page-box">
        <div class="digg" style="margin: 0 auto;width: 1020px;"></div><!--放置页码列表-->
    </div>

    <div class="clear placeholder"></div>
{/block}